
let page = {
  total: 1,
  startIndex: 0,
  stepNumber: 20,
  currentPage: 1
};

// 和网络交互相关的参数
let params = {
  id:'',
  startTime: '',
  endTime:'',
};

let data = {
  list: [],
}

let table = function (self) {
  return [
    {
      title: '序号',
      type: 'index',
      width: 80,
      align: 'center',
    },
    {
      title: '员工',
      align: 'center',
      key: 'userName',
      width: 200,
    },
    {
      title: '排查产品',
      align: 'center',
      key: 'sumCount',
      minWidth: 150,
    },
    {
      title: '正常数量',
      minWidth: 150,
      key: 'normalCount',
      align: 'center'
    },
    {
      title: '下架数量',
      align: 'center',
      minWidth: 150,
      key: 'soldOutCount',
    },
    {
      title: '排查百分比',
      align: 'center',
      minWidth: 150,
      key: 'percent',
    },
  ];
}

export default  {
  tPage: page,
  tParam: params,
  tTable:table,
  tData:data,
};
